package com.yonyou.cyxdms.sysmanage.client.domains.dto;

import com.yonyou.cyxdms.framework.bean.dto.base.DMSBaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * 用户登录的DTO
 *
 * @author Administrator
 * @date 2017年6月25日
 */
@ApiModel(value = "用户角色DTO", description = "用户角色对象")
public class UserRoleDTO extends DMSBaseDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "职位8位CODE")
    private String role;
    @ApiModelProperty(value = "职位名称")
    private String positionName;
    @ApiModelProperty(value = "角色名称")
    private String roleName;
    @ApiModelProperty(value = "公司组织id")
    private Long dealerOrgId;
    @ApiModelProperty(value = "组织id")
    private Long orgId;
    @ApiModelProperty(value = "下级组织ids")
    private String orgIds;
    @ApiModelProperty(value = "组织编号")
    private String orgCode;
    @ApiModelProperty(value = "组织名称")
    private String orgName;
    @ApiModelProperty(value = "经销商编号")
    private String dealerCode;
    @ApiModelProperty(value = "经销商民称")
    private String dealerName;
    @ApiModelProperty(value = "公司id")
    private Long companyId;
    @ApiModelProperty(value = "经销商id")
    private Long dealerId;
    @ApiModelProperty(value = "公司code")
    private String companyCode;
    @ApiModelProperty(value = "类型")
    private Long dataType;
    @ApiModelProperty(value = "用户组织角色关系id")
    private Long userOrgId;
    @ApiModelProperty(value = "角色类型")
    private String roleType;
    @ApiModelProperty(value = "公司类型")
    private Long orgType;
    @ApiModelProperty(value = "职位角色code")
    private String roleCode;

    public String getRoleCode() {
        return roleCode;
    }

    public void setRoleCode(String roleCode) {
        this.roleCode = roleCode;
    }

    public Long getOrgType() {
        return orgType;
    }

    public void setOrgType(Long orgType) {
        this.orgType = orgType;
    }

    public String getPositionName() {
        return positionName;
    }

    public void setPositionName(String positionName) {
        this.positionName = positionName;
    }

    public String getRoleType() {
        return roleType;
    }

    public void setRoleType(String roleType) {
        this.roleType = roleType;
    }

    public Long getUserOrgId() {
        return userOrgId;
    }

    public void setUserOrgId(Long userOrgId) {
        this.userOrgId = userOrgId;
    }

    public Long getDataType() {
        return dataType;
    }

    public void setDataType(Long dataType) {
        this.dataType = dataType;
    }

    public Long getDealerId() {
        return dealerId;
    }

    public void setDealerId(Long dealerId) {
        this.dealerId = dealerId;
    }

    public String getCompanyCode() {
        return companyCode;
    }

    public void setCompanyCode(String companyCode) {
        this.companyCode = companyCode;
    }

    public String getOrgIds() {
        return orgIds;
    }

    public void setOrgIds(String orgIds) {
        this.orgIds = orgIds;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public Long getDealerOrgId() {
        return dealerOrgId;
    }

    public void setDealerOrgId(Long dealerOrgId) {
        this.dealerOrgId = dealerOrgId;
    }

    public Long getOrgId() {
        return orgId;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public String getDealerCode() {
        return dealerCode;
    }

    public void setDealerCode(String dealerCode) {
        this.dealerCode = dealerCode;
    }

    public String getDealerName() {
        return dealerName;
    }

    public void setDealerName(String dealerName) {
        this.dealerName = dealerName;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }
}
